package org.git.movie.mapper;

//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.git.movie.entity.FfVod;

import org.git.movie.entity.FfVodWithBLOBs;
import org.git.movie.form.ListSearchForm;
import org.git.movie.vo.FfVodListDto;
import org.git.movie.vo.FfVodRelationDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 嘻嘻
 * @since 2020-07-13
 */
@Repository
public interface FfVodMapper  {

    FfVod findById(Integer vodId);

    List<FfVod> findRelationList( FfVodRelationDto ffVodRelationDto);

    /**
     * 查询某个分类下的信息
     * @param listSearchForm
     * @return
     */
    List<FfVod> findListVodList( ListSearchForm listSearchForm);

    FfVodWithBLOBs findAllById(Integer videoId);

    List<FfVod> findAvailByListId(@Param("navListId") Integer navListId,@Param("pagesize") int pagesize);

    List<FfVod> dosearch(String key);
}
